#pragma once
#include "glModel.h"
#include "Shaders.h"
#include "glTexture.h"
#include "Camera.h"
#include "glLighting.h"

class glObject
{
public:
	glModel *model;
	int textureCount;
	int textureCubeCount;
	glTexture**texture;
	Shaders myShaders;
	Vector3 position,rotation,scale;
	Matrix maView,maModel,maProjection,MvpMatrix;
	bool culling,depth_test,alpha;
	GLuint *vboId;
	CCamera *camera;
	glLighting *light;

	glObject(void);
	~glObject(void);
	void glObject::Draw();
	void Init();
	void Update();
	void CleanUp();
};
